#include <iostream>
using namespace std;

#include "Event.h"
#include "Time.h"


Event::Event()
{}

Event::Event(string type)
{
m_eventType=type;
}

Event::Event(string type, Time t)
{
m_eventTime=t;
m_eventType=type;
}



void Event::eventToLog()
{
cout<<m_eventType<<endl;
}

char Event::getTeam()
{
return m_team;
}

string Event::getType()
{
return m_eventType;
}

Time Event::getTime()
{
return m_eventTime;
}


int Event::getPeriod()
{

return m_eventTime.getPeriod();
}

int Event::getPlayerNumber()
{
return m_commitPlayer;
}
